package IMIC.NGUYENVANTINH.OOP.LEVEL2.EX4;

public class Models {

	public double AreaRectangle(Rectangle objRectangle) {
		return objRectangle.getHeight() * objRectangle.getWidth();
	}

	public double PerimetterRectangle(Rectangle objRectangle) {
		return ((objRectangle.getHeight() + objRectangle.getWidth()) / 2);
	}
}
